# 定位下一个控件方法
def click_next_control(current_control):
    siblings = current_control.parent().children()
    for i, sibling in enumerate(siblings):
        if sibling == current_control and i < len(siblings) - 1:
            next_control = siblings[i + 1]
            next_control.click_input()  # Click the next control
            return next_control
    return None
